package com.kabigon.tiny.convert;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 订单对象映射
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.convert
 * @data 2022/5/29 21:42
 */
@Mapper(uses = {MemberConvert.class, ProductConvert.class})
public interface OrderConvert {
    OrderConvert INSTANCE = Mappers.getMapper(OrderConvert.class);

    //@Mapping(source = "member", target = "memberDto")
    //@Mapping(source = "productList", target = "productDtoList")
    //OrderDto toDto(Order order);
}
